package com.lgywin.userserver.comm;

import java.util.List;

public interface BaseMapper<T> {
    List<T> list();

    int insert(T entity);

    int delete(Integer id);

    int update(T entity);

    T getId(Integer id);
}
